﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TheHeGeoCommercial.Welcome;

namespace TheHeGeoCommercial.Master
{
    public partial class ComMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var site = Master as RootHomeMaster;
            if (site != null)
            {
                var uc = site.FindControl("UcContact") as UcContact;
                if (uc != null) uc.Visible = true;
            }
        }

        public void SetLblSubHeaderTxt(string txt)
        {
            lblSubHeader.Text = txt;
        }
    }
}